package com.example.edu.matcher;

public class MatcherAssert {

    public static <T> void assertThat(T actual, Matcher<T> matcher) {
        if (!matcher.matches(actual)) {
            throw new AssertionError("不匹配");
        }
    }
}
